package com.qiall.boot.fileability;

import com.qiall.boot.fileability.request.*;
import com.qiall.common.exception.BusinessResult;
import com.qiall.common.request.GetByIdRequest;

import java.util.List;

public interface FileService {
    BusinessResult<Void> setFileUserInfo(SetFileInfoDTO setFileInfoDTO);

    BusinessResult<String> getFileUrl(GetByIdRequest getByIdRequest);

    BusinessResult<Void> createDir(CreateDirDTO createDirDTO);

     BusinessResult<Void> remoteDir(GetByIdRequest request);

     BusinessResult<List<DirDTO>> getDirList(GetDirRequest request);

     BusinessResult<List<FileInfoDTO>> searchFile(GetFileRequest request);

     BusinessResult<Void> deleteFile(GetByIdRequest request);


    }
